<template>
  <div class="navTop">
    <span class="iconfont iconjiantou2" @click="$router.go(-1)"></span>
    <div class="title">{{ title }}</div>
  </div>
</template>

<script>
export default {
  name: "NavTop",
  props: {
    title: String,
  },
  data() {
    return {};
  },
};
</script>

<style scoped lang="less">
.navTop {
  display: flex;
  padding: 20/360 * 100vw;
  .title {
    flex: 1;
    text-align: center;
    font-size: 14/360 * 100vw;
    font-weight: bold;
    padding-right: 10/360 * 100vw;
  }
}
</style>
